package com.hkemmm.shop.service;

import com.hkemmm.shop.entity.Category;
import com.hkemmm.shop.entity.Goods;
import com.hkemmm.shop.entity.Goods_category;
import com.hkemmm.shop.entity.Goods_img;

import java.util.List;

public interface IGoodsService {
    List<Goods> getGoods(Integer number);

    Goods selectByPrimaryKey(Integer id);

    List<Goods_img> getListImg(Integer id);

    List<Goods> getRelatedGoods(List<Category> list);

    List<Goods> getAllGoods(Integer shopId);

    int insertSelective(Goods record);

    int updateByPrimaryKeySelective(Goods record);

    int delGoods(Integer id,Integer status);
}
